package com.shadow.study.test.study2;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
public class OneHandler {

    @GetMapping("handler")
    public String handler() {
        try {
            log.info("handler");
            Thread.sleep(1000 * 60 * 10L);
        } catch (InterruptedException e) {
            log.error("handler", e);
        }
        return "yes";
    }
}
